home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
versa11.arc
/
VERSA1-C.MNU
< prev
next >
Wrap
Text File
|
1987-05-23
|
23KB
|
547 lines
;PC-Pursuit: VERSAdial
;VERSA1-C.MNU
;This is the menu file for the six cities listed below. It is executed
;when any of these six area codes are selected by the user.
;This file is NOT TO BE USED DURING EXECUTION! There is an optimized version
;of this file for use.
;========== SELECT ==========
;This code segment determines which menu will be drawn.
SELECT:
SWITCH S1 ;Decision based on selected area code
CASE "404"
GOTO ATLANTA ;All six cases are more or less identical.
ENDCASE ;Each performs a GOTO to the proper label
CASE "617" ;associated with each area code.
GOTO BOSTON
ENDCASE
CASE "216"
GOTO CLEVELAND
ENDCASE
CASE "313"
GOTO DETROIT
ENDCASE
CASE "305"
GOTO MIAMI
ENDCASE
CASE "201"
GOTO NEWARK
ENDCASE
DEFAULT ;If S2 equals anything else, it's an error
ASSIGN S9 "ERROR" ;Put this in S9 . . .
EXECUTE "VERSA.CMD" ;Go back to VERSA (which will terminate)
ENDCASE
ENDSWITCH
;========== ATLANTA ==========
ATLANTA:
CLEAR ;Clear the screen for menu drawing
LOCATE 2,0 ;Locate the cursor for menu drawing
MESSAGE " ╒════════╡ Atlanta BBS Directory (404) ╞════════╕"
MESSAGE " │ │"
MESSAGE " │ -Board- -SIG- │"
MESSAGE " │ │"
MESSAGE " │ < 1> GBBS │"
MESSAGE " │ < 2> Flagship BBS │"
MESSAGE " │ < 3> Atlanta PCUG Unprotects │"
MESSAGE " │ < 4> T. J.'s │"
MESSAGE " │ < 5> Kahn's BBS Artificial Intelligence │"
MESSAGE " │ < 6> Southside BBS │"
MESSAGE " │ < 7> Gumby's Place │"
MESSAGE " │ < 8> La Chateau │"
MESSAGE " │ < 9> │"
MESSAGE " │ <10> │"
MESSAGE " │ │"
MESSAGE " │ <G>o back to city selection │"
MESSAGE " │ │"
MESSAGE " ├────────────────────────────────────────────────┤"
MESSAGE " │ Enter 1-10 or other BBS phone number: │"
MESSAGE " ╘════════════════════════════════════════════════╛"
LOCATE 20,56 ;Locate cursor for user input
GET S9 7 ;User input (7 characters)
SWITCH S9 ;Decision based on user input
CASE "1"
ASSIGN S2 "4576815" ;Cases 1 through 10 are identical. Each
;ASSIGN S7 "COMMAND.VER" ;assigns a phone number to be dialed to
ENDCASE ;S2, and a command file to be executed on
CASE "2" ;connect to S7 (the command file is
ASSIGN S2 "9346299" ;optional).
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "3"
ASSIGN S2 "4330062"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "4"
ASSIGN S2 "3921756"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "5"
ASSIGN S2 "9346299"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "6"
ASSIGN S2 "7670092"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "7"
ASSIGN S2 "9396569"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "8"
ASSIGN S2 "9877940"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "9"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "10"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "D" ;If user enters "D" . . .
EXECUTE "VERSA.CMD" ;Leave the "D" in S9, execute VERSA
ENDCASE
CASE "E" ;If user enters "E" . . .
EXECUTE "VERSA.CMD" ;Leave the "E" in S9, execute VERSA
ENDCASE
CASE "G" ;If user enters "G" . . .
EXECUTE "VERSA.CMD" ;Leave the "G" in S9, execute VERSA
ENDCASE
DEFAULT ;Any other input should be a phone number
ASSIGN S2 S9 ;Assign the user input to S2
ENDCASE
ENDSWITCH ;All possibilities covered
ASSIGN S9 "ACTIVE" ;Finally, put "ACTIVE" in S9 . . .
EXECUTE "VERSA.CMD" ;And go back to VERSA
;========== BOSTON ==========
BOSTON:
CLEAR ;Clear the screen for menu drawing
LOCATE 2,0 ;Locate the cursor for menu drawing
MESSAGE " ╒═════════╡ Boston BBS Directory (617) ╞═════════╕"
MESSAGE " │ │"
MESSAGE " │ -Board- -SIG- │"
MESSAGE " │ │"
MESSAGE " │ < 1> Boston Computer Society │"
MESSAGE " │ < 2> Alpha Computer Society │"
MESSAGE " │ < 3> Wonderland BBS │"
MESSAGE " │ < 4> Harvard BBS │"
MESSAGE " │ < 5> Microcom's MNP MNP Info │"
MESSAGE " │ < 6> Boston Fog │"
MESSAGE " │ < 7> PC Week FIDO │"
MESSAGE " │ < 8> The Billboard │"
MESSAGE " │ < 9> Northeastern Exchange │"
MESSAGE " │ <10> │"
MESSAGE " │ │"
MESSAGE " │ <G>o back to city selection │"
MESSAGE " │ │"
MESSAGE " ├────────────────────────────────────────────────┤"
MESSAGE " │ Enter 1-10 or other BBS phone number: │"
MESSAGE " ╘════════════════════════════════════════════════╛"
LOCATE 20,56 ;Locate cursor for user input
GET S9 7 ;User input (7 characters)
SWITCH S9 ;Decision based on user input
CASE "1"
ASSIGN S2 "2373750" ;Cases 1 through 10 are identical. Each
;ASSIGN S7 "COMMAND.VER" ;assigns a phone number to be dialed to
ENDCASE ;S2, and a command file to be executed on
CASE "2" ;connect to S7 (the command file is
ASSIGN S2 "2292915" ;optional).
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "3"
ASSIGN S2 "6653796"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "4"
ASSIGN S2 "4984379"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "5"
ASSIGN S2 "7699358"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "6"
ASSIGN S2 "2884667"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "7"
ASSIGN S2 "5361917"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "8"
ASSIGN S2 "9658761"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "9"
ASSIGN S2 "9653121"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "10"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "D" ;If user enters "D" . . .
EXECUTE "VERSA.CMD" ;Leave the "D" in S9, execute VERSA
ENDCASE
CASE "E" ;If user enters "E" . . .
EXECUTE "VERSA.CMD" ;Leave the "E" in S9, execute VERSA
ENDCASE
CASE "G" ;If user enters "G" . . .
EXECUTE "VERSA.CMD" ;Leave the "G" in S9, execute VERSA
ENDCASE
DEFAULT ;Any other input should be a phone number
ASSIGN S2 S9 ;Assign user input to S2
ENDCASE
ENDSWITCH
ASSIGN S9 "ACTIVE" ;Finally, put "ACTIVE" in S9 . . .
EXECUTE "VERSA.CMD" ;And go back to VERSA
;========== CLEVELAND ==========
CLEVELAND:
CLEAR ;Clear the screen for menu drawing
LOCATE 2,0 ;Locate the cursor for menu drawing
MESSAGE " ╒═══════╡ Cleveland BBS Directory (216) ╞═══════╕"
MESSAGE " │ │"
MESSAGE " │ -Board- -SIG- │"
MESSAGE " │ │"
MESSAGE " │ < 1> Cleveland RBBS │"
MESSAGE " │ < 2> InfoGuide │"
MESSAGE " │ < 3> InfoGuide (other line) │"
MESSAGE " │ < 4> Micro-Chip │"
MESSAGE " │ < 5> GCPCUG/JCU BBS │"
MESSAGE " │ < 6> The Machine │"
MESSAGE " │ < 7> Free-Net │"
MESSAGE " │ < 8> Data-Term │"
MESSAGE " │ < 9> Dog House │"
MESSAGE " │ <10> │"
MESSAGE " │ │"
MESSAGE " │ <G>o back to city selection │"
MESSAGE " │ │"
MESSAGE " ├────────────────────────────────────────────────┤"
MESSAGE " │ Enter 1-10 or other BBS phone number: │"
MESSAGE " ╘════════════════════════════════════════════════╛"
LOCATE 20,56 ;Locate cursor for user input
GET S9 7 ;User input (7 characters)
SWITCH S9 ;Decision based on user input
CASE "1"
ASSIGN S2 "3313576" ;Cases 1 through 10 are identical. Each
;ASSIGN S7 "COMMAND.VER" ;assigns a phone number to be dialed to
ENDCASE ;S2, and a command file to be executed on
CASE "2" ;connect to S7 (the command file is
ASSIGN S2 "6213434" ;optional).
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "3"
ASSIGN S2 "6213435"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "4"
ASSIGN S2 "2256130"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "5"
ASSIGN S2 "3974256"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "6"
ASSIGN S2 "2521288"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "7"
ASSIGN S2 "3683888"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "8"
ASSIGN S2 "5623263"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "9"
ASSIGN S2 "2510110"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "10"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "D" ;If user enters "D" . . .
EXECUTE "VERSA.CMD" ;Leave the "D" in S9, execute VERSA
ENDCASE
CASE "E" ;If user enters "E" . . .
EXECUTE "VERSA.CMD" ;Leave the "E" in S9, execute VERSA
ENDCASE
CASE "G" ;If user enters "G" . . .
EXECUTE "VERSA.CMD" ;Leave the "G" in S9, execute VERSA
ENDCASE
DEFAULT ;Any other input should be a phone number
ASSIGN S2 S9 ;Assign user input to S2
ENDCASE
ENDSWITCH ;All possibilities covered
ASSIGN S9 "ACTIVE" ;Finally, put "ACTIVE" in S9 . . .
EXECUTE "VERSA.CMD" ;And go back to VERSA
;========== DETROIT ==========
DETROIT:
CLEAR ;Clear the screen for menu drawing
LOCATE 2,0 ;Locate the cursor for menu drawing
MESSAGE " ╒════════╡ Detroit BBS Directory (313) ╞════════╕"
MESSAGE " │ │"
MESSAGE " │ -Board- -SIG- │"
MESSAGE " │ │"
MESSAGE " │ < 1> PCUTIL │"
MESSAGE " │ < 2> Freeform │"
MESSAGE " │ < 3> East Area BBS │"
MESSAGE " │ < 4> Microchip │"
MESSAGE " │ < 5> 007's Computer Runway │"
MESSAGE " │ < 6> Daedalus │"
MESSAGE " │ < 7> Arcade │"
MESSAGE " │ < 8> 23 Cutting Board │"
MESSAGE " │ < 9> Bit Bucket │"
MESSAGE " │ <10> │"
MESSAGE " │ │"
MESSAGE " │ <G>o back to city selection │"
MESSAGE " │ │"
MESSAGE " ├────────────────────────────────────────────────┤"
MESSAGE " │ Enter 1-10 or other BBS phone number: │"
MESSAGE " ╘════════════════════════════════════════════════╛"
LOCATE 20,56 ;Locate cursor for user input
GET S9 7 ;User input (7 characters)
SWITCH S9 ;Decision based on user input
CASE "1"
ASSIGN S2 "3930527" ;Cases 1 through 10 are identical. Each
;ASSIGN S7 "COMMAND.VER" ;assigns a phone number to be dialed to
ENDCASE ;S2, and a command file to be executed on
CASE "2" ;connect to S7 (the command file is
ASSIGN S2 "7747258" ;optional).
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "3"
ASSIGN S2 "9496665"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "4"
ASSIGN S2 "9496745"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "5"
ASSIGN S2 "3488535"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "6"
ASSIGN S2 "9331425"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "7"
ASSIGN S2 "9788087"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "8"
ASSIGN S2 "2917716"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "9"
ASSIGN S2 "3430877"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "10"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "D" ;If user enters "D" . . .
EXECUTE "VERSA.CMD" ;Leave the "D" in S9, execute VERSA
ENDCASE
CASE "E" ;If user enters "E" . . .
EXECUTE "VERSA.CMD" ;Leave the "E" in S9, execute VERSA
ENDCASE
CASE "G" ;If user enters "G" . . .
EXECUTE "VERSA.CMD" ;Leave the "G" in S9, execute VERSA
ENDCASE
DEFAULT ;Any other input should be a phone number
ASSIGN S2 S9 ;Assign user input to S2
ENDCASE
ENDSWITCH ;All possibilities covered
ASSIGN S9 "ACTIVE" ;Finally, put "ACTIVE" in S9 . . .
EXECUTE "VERSA.CMD" ;And go back to VERSA
;========== MIAMI ==========
MIAMI:
CLEAR ;Clear the screen for menu drawing
LOCATE 2,0 ;Locate the cursor for menu drawing
MESSAGE " ╒═════════╡ Miami BBS Directory (305) ╞═════════╕"
MESSAGE " │ │"
MESSAGE " │ -Board- -SIG- │"
MESSAGE " │ │"
MESSAGE " │ < 1> Adults Only II │"
MESSAGE " │ < 2> Miami PC Network │"
MESSAGE " │ < 3> Miami Users Group │"
MESSAGE " │ < 4> The Kendall Switchboard │"
MESSAGE " │ < 5> CompuSci Fido │"
MESSAGE " │ < 6> Genesis BBS │"
MESSAGE " │ < 7> John Galt Line │"
MESSAGE " │ < 8> Miami Dade Fido │"
MESSAGE " │ < 9> │"
MESSAGE " │ <10> │"
MESSAGE " │ │"
MESSAGE " │ <G>o back to city selection │"
MESSAGE " │ │"
MESSAGE " ├────────────────────────────────────────────────┤"
MESSAGE " │ Enter 1-10 or other BBS phone number: │"
MESSAGE " ╘════════════════════════════════════════════════╛"
LOCATE 20,56 ;Locate cursor for user input
GET S9 7 ;User input (7 characters)
SWITCH S9 ;Decision based on user input
CASE "1"
ASSIGN S2 "5944526" ;Cases 1 through 10 are identical. Each
;ASSIGN S7 "COMMAND.VER" ;assigns a phone number to be dialed to
ENDCASE ;S2, and a command file to be executed on
CASE "2" ;connect to S7 (the command file is
ASSIGN S2 "9354964" ;optional).
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "3"
ASSIGN S2 "6217534"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "4"
ASSIGN S2 "2712146"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "5"
ASSIGN S2 "7584871"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "6"
ASSIGN S2 "8952998"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "7"
ASSIGN S2 "2351645"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "8"
ASSIGN S2 "3472970"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "9"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "10"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "D" ;If user enters "D" . . .
EXECUTE "VERSA.CMD" ;Leave the "D" in S9, execute VERSA
ENDCASE
CASE "E" ;If user enters "E" . . .
EXECUTE "VERSA.CMD" ;Leave the "E" in S9, execute VERSA
ENDCASE
CASE "G" ;If user enters "G" . . .
EXECUTE "VERSA.CMD" ;Leave the "G" in S9, execute VERSA
ENDCASE
DEFAULT ;Any other input should be a phone number
ASSIGN S2 S9 ;Assign user input to S2
ENDCASE
ENDSWITCH ;All possibilities covered
ASSIGN S9 "ACTIVE" ;Finally, put "ACTIVE" in S9 . . .
EXECUTE "VERSA.CMD" ;And go back to VERSA
;========== NEWARK ==========
NEWARK:
CLEAR ;Clear the screen for menu drawing
LOCATE 2,0 ;Locate the cursor for menu drawing
MESSAGE " ╒═════════╡ Newark BBS Directory (201) ╞═════════╕"
MESSAGE " │ │"
MESSAGE " │ -Board- -SIG- │"
MESSAGE " │ │"
MESSAGE " │ < 1> Microsellar 120 Megabytes │"
MESSAGE " │ < 2> Hotel California │"
MESSAGE " │ < 3> SEA Board Home of ARC │"
MESSAGE " │ < 4> Sparta Hard Disk Info │"
MESSAGE " │ < 5> The Data Base 123, dBase, Framework │"
MESSAGE " │ < 6> BOSS BBS │"
MESSAGE " │ < 7> Shelter │"
MESSAGE " │ < 8> Ed Gelb's │"
MESSAGE " │ < 9> │"
MESSAGE " │ <10> │"
MESSAGE " │ │"
MESSAGE " │ <G>o back to city selection │"
MESSAGE " │ │"
MESSAGE " ├────────────────────────────────────────────────┤"
MESSAGE " │ Enter 1-10 or other BBS phone number: │"
MESSAGE " ╘════════════════════════════════════════════════╛"
LOCATE 20,56 ;Locate cursor for user input
GET S9 7 ;User input (7 characters)
SWITCH S9 ;Decision based on user input
CASE "1"
ASSIGN S2 "2391346" ;Cases 1 through 10 are identical. Each
;ASSIGN S7 "COMMAND.VER" ;assigns a phone number to be dialed to
ENDCASE ;S2, and a command file to be executed on
CASE "2" ;connect to S7 (the command file is
ASSIGN S2 "3278245" ;optional).
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "3"
ASSIGN S2 "6943348"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "4"
ASSIGN S2 "7295377"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "5"
ASSIGN S2 "9435419"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "6"
ASSIGN S2 "5687293"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "7"
ASSIGN S2 "7837458"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "8"
ASSIGN S2 "6947425"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "9"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "10"
ASSIGN S2 "XXXXXXX"
;ASSIGN S7 "COMMAND.VER"
ENDCASE
CASE "D" ;If user enters "D" . . .
EXECUTE "VERSA.CMD" ;Leave the "D" in S9, execute VERSA
ENDCASE
CASE "E" ;If user enters "E" . . .
EXECUTE "VERSA.CMD" ;Leave the "E" in S9, execute VERSA
ENDCASE
CASE "G" ;If user enters "G" . . .
EXECUTE "VERSA.CMD" ;Leave the "G" in S9, execute VERSA
ENDCASE
DEFAULT ;Any other input should be a phone number
ASSIGN S2 S9 ;Assign user input to S2
ENDCASE
ENDSWITCH ;All possibilities covered
ASSIGN S9 "ACTIVE" ;Finally, put "ACTIVE" in S9 . . .
EXECUTE "VERSA.CMD" ;And go back to VERSA